<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@taglib uri="/struts-tags" prefix="s" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'jiGou.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
  <a>当前位置：部门管理</a>
<br /><br /><br /><br />
    <center>
    	<div style="width:900px;height:400px;">
    		<h3>部门管理</h3>
            <hr style="border:1px" />
            <input type="button" onclick="javascript:alert('您没有权限执行该操作')" value="添加部门" style="float:right"/>
            <br /><br />
            <table border="1" width="870px" style="text-align: center" >
            	<tr>
                	<th>部门名称</th>                    
                    <th>负责人</th>
                    <th>联系电话</th>
                    <th>移动电话</th>
                    <th>传真</th>
                    <th>修改</th>
                    <th>删除</th>
                </tr>
                 <s:iterator value="%{#session.p.list}">
                		<tr>
                		<td><s:property value="%{departname}"/></td>
                		<td><s:property value="%{userinfo.username}"/></td>
                		<td><s:property value="%{connecttelno}"/></td>
                		<td><s:property value="%{connectmobiletelno}"/></td>
                		<td><s:property value="%{faxes}"/></td>
                		<td><sx:a onclick="javascript:alert('您没有权限执行该操作')"><img src="admin_cg/zhk/image/edit.gif"></sx:a></td>
                		<td><sx:a onclick="javascript:alert('您没有权限执行该操作')"><img src="admin_cg/zhk/image/delete.gif"></sx:a></td>                		
                	</tr>
                </s:iterator>
                
            </table><br><br>
           <sx:a  href="splitpage?type=3&page=1">首页</sx:a>
    	<sx:a  href="splitpage?type=3&page=%{#session.p.currentPage-1}">上一页</sx:a>
    	<sx:a  href="splitpage?type=3&page=%{#session.p.currentPage+1}">下一页</sx:a>
    	<sx:a  href="splitpage?type=3&page=%{#session.p.totalPage}">末页</sx:a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;【<s:property value="%{#session.p.currentPage}"/>/<s:property value="%{#session.p.totalPage}"/>】

           
    	</div>   
    	<br><br>
    		
    </center>
  </body>
</body>
  </body>
</html>
